package com.ruicar.afs.cloud.basic.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruicar.afs.cloud.common.modules.contract.enums.ReceiptSourceTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import lombok.experimental.Accessors;
import lombok.Data;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author: Lee
 * @date 2020-05-29 09:31:34 
 * @description 退款记录表
 */
@Data
@Accessors(chain = true)
@TableName(value ="basic_return_records", autoResultMap = true)
public class BasicReturnRecords extends BaseEntity<BasicReturnRecords> {

	/** 客户号 */
	@ApiModelProperty("客户号")
	private String custNo;
	/** 来款类型 枚举值：银行到账，代扣，微信付款 */
	@ApiModelProperty("收款来源类型 枚举值：银行到账，代扣，微信付款")
	private ReceiptSourceTypeEnum fundsType;
	/** 来款表 */
	@ApiModelProperty("来款表")
	private String fundsTable;
	/** 来款id */
	@ApiModelProperty("来款id")
	private Integer fundsId;
	/** 退款日期 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty("退款日期")
	private Date returnDate;
	/** 乐观锁 */
	@ApiModelProperty("乐观锁")
	private Integer revision;

}
